projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e768de
)
Do not modify "rte_waypt_ct" on direct way!
author
oliskoli
<oliskoli>
Thu, 18 Jan 2007 22:12:32 +0000
(22:12 +0000)
committer
oliskoli
<oliskoli>
Thu, 18 Jan 2007 22:12:32 +0000
(22:12 +0000)
alan.c
patch
|
blob
|
history
diff --git
a/alan.c
b/alan.c
index aa8f1b883c8492b54e24ac2e752d1b25c4837107..93679e46a509cbbc6880818aaa6a83b853937594 100644
(file)
--- a/
alan.c
+++ b/
alan.c
@@
-530,7
+530,7
@@
static void wpr_read(void) {
RT->rte_desc = xstrndup(rte->comment,j+1);
else
RT->rte_desc = xstrdup("");
- RT->rte_waypt_ct = rte->wptnum;
+
route_add_head(RT);
/* route points */
@@
-577,7
+577,7
@@
static void trl_read(void) {
j--) {};
TL->rte_desc = xstrndup(trkhdr->comment,j+1);
TL->rte_num = i;
- TL->rte_waypt_ct = trkhdr->totalpt;
+
track_add_head(TL);
/* track points */